import request from '@/utils/http'

export const adminLogin = ({ adminName, password }) => {
    return request({
        url:'/admins/account/login',
        method: 'POST',
        params: {
            adminName,
            password
        }
    })
}

export const getAllUser = ({ pageId, pageSize }) => {
    return request({
        url: '/admins/account/users' + "/" + pageSize + "/" + pageId,
        method: 'GET'
    })
}
